<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>Simple Ajax Application</title>
  <!-- (1) Load library scripts, courtesy of Yahoo! YUI. -->
  <script src="http://yui.yahooapis.com/2.6.0/build/yahoo-dom-event/yahoo-dom-event.js" type="text/javascript"></script>
  <script src="http://yui.yahooapis.com/2.6.0/build/element/element-beta-min.js" type="text/javascript"></script>
  <!-- New scripts for Ajax connectivity. -->
  <script src="http://yui.yahooapis.com/2.6.0/build/yahoo/yahoo-min.js" type="text/javascript"></script>
  <script src="http://yui.yahooapis.com/2.6.0/build/connection/connection-min.js" type="text/javascript"></script>
  <!-- (2) Custom script to initialize the page. -->
  <script src="ajax-works-2.js" type="text/javascript"></script>
</head>
<body>
  <!-- (3) Render a button control. -->
  <input id="hello-button" type="button" value="Say Hello World via AJAX" />
  <br /><br />
  <!-- (4) Provide a message area. --> 
  <div id="hello-div"></div>
  <!-- (5) Initialize the page. -->
  <script type="text/javascript">
      var elButton = new YAHOO.util.Element('hello-button');
      var elDiv = YAHOO.util.Dom.get("hello-div");
      ajaxWorksInit(elButton, elDiv);
  </script>
  </body>
</html>
